package pinpass;

public class GeneraCordenada {
	private String[] cordenadaA;
	private String[] cordenada1;
	private String cord1 =new String();
	private String cord2 =new String();
	private String cord3 =new String();
	
	public GeneraCordenada(){
		cordenadaA = new String[]{"a","b","c","d","e","f","g","h","i","j"};
		cordenada1 = new String[]{"1","2","3","4","5"};
		String[][] tabla = {{"21","80","88","98","77","66","44","55","33","22"},
							{"32","18","16","15","97","76","65","45","56","34"},
							{"10","26","21","43","59","91","62","42","17","12"},
							{"99","11","31","73","40","50","89","61","37","42"},
							{"98","19","41","23","30","20","92","86","35","27"}};		
	}
	public String cordenada(){
		String res = new String();

		cord1= cordenadaA[((int) Math.random() * 10)-1]+cordenada1[((int) Math.random() * 5)-1];	
		cord2= cordenadaA[((int) Math.random() * 10)-1]+cordenada1[((int) Math.random() * 5)-1];
		cord3= cordenadaA[((int) Math.random() * 10)-1]+cordenada1[((int) Math.random() * 5)-1];
		res = cord1+" "+cord2+" "+cord3;
		return res;
	}
}
